#ifndef _WDS_ROCKET_SEEKER_H_
#define _WDS_ROCKET_SEEKER_H_

#include "wds_bullet_rocket.h"

class WDSLifeObject;

// homing rocket
class WDSRocketSeeker : public WDSBulletRocket 
{
public:

	const static float				SMOKE_DISTNACE;
	
	

	WDSRocketSeeker(float DamagePower);
	

	virtual void					Render(const math::Vec2& Offset,float Scale);
	virtual void					RenderDebug(const math::Vec2& Offset,float Scale);
	virtual void					Tick(float dt,float SkillBulletSpeed, const math::Vec2& Offset);
	virtual void					ReSpawn(const math::Vec2& Pos,
											WDSBullet::STARTPOS StartDir,
											float Degree);
	

protected:

	
	WDSLifeObject*					m_pTarget;
	
	float							m_Rotation;
	float							m_RotationSpeed;
	float							m_RandomSwayDegree;
	bool							m_bSwayPlus;		// LEFT or Right
	int								m_SwayCount;
	bool							m_LastSway;
	
};

#endif